package com.yugong.common;

/**
 * 常量管理类
 *
 * @author yugong
 * @date 2024/2/9
 */
public class Const {
    // 用户角色
    public final static String ROLE_SYSTEM_ADMIN = "system-admin";
    public final static String ROLE_COMMON_STUDENT = "common-student";
    public final static String ROLE_COMMON_TEACHER = "common-teacher";
    public final static String ROLE_COMMON_BUSINESS = "common-business";
    public final static String ROLE_COMMON_ORDER_CLASS_ADMIN = "common-order-class-admin";
    public final static String ROLE_VISITOR_ADMIN = "visitor-admin";
    public final static String ROLE_VISITOR_STUDENT = "visitor-student";
    public final static String ROLE_VISITOR_TEACHER = "visitor-teacher";
    public final static String ROLE_VISITOR_BUSINESS = "visitor-business";
    public final static String ROLE_VISITOR_ORDER_CLASS_ADMIN = "visitor-order-class-admin";

    // 时间格式
    public final static String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public final static String YYYY_MM_DD = "yyyy-MM-dd";

    // 磁盘路径
    public final static String ROOT_AVATAR_PATH = System.getProperty("user.dir") + "/files/images/avatars";
}
